Skip to main content

FlowStarterPosition

Represents a workflow step for managing the starting position of a flow, with various timeout and notification options.

Properties

NameDescription
MessageOptionsGets or sets the message options.
NotificationOptionsGets or sets the push notification options.
IdThe unique identifier of the starter position.
KeyA unique identifier for the workflow step.
MailMessageGets the mail message associated with the message.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
CachedDMObjectsThe cached document management objects related to the flow object.
DoNotSendRequestIfProcessedIndicates whether requests should be avoided if already processed.
NotificationCaptionGets the notification caption associated with the message.
NotificationMessageGets the notification message associated with the message.
HideApporoverInHistoryDetermines whether the approver should be hidden in the workflow history.
AutoOpenApprovalOptionIndicates if approval options should automatically open for this position.
IsCustomMailMessageGets or sets a value indicating whether the mail message is custom.
MailSubjectGets the mail subject associated with the message.
GeolocationOptionsGeolocation options associated with the starter position.
EnableSendMailGets or sets a value indicating whether sending mail is enabled.
TypeCodeThe type code associated with the flow object.
EventsToCheckA list of events that need to be monitored for the starter position.
TimeoutHourThe number of hours specified for the timeout duration.
RequestIsNecessaryIfDocumentChangedSpecifies if a request is required when the associated document is modified.
TimeoutDurationThe total timeout duration represented as a TimeSpan.
AttachmentsGets the list of attachments associated with the message.
WebNotificationOptionsGets or sets the web notification options.
DescriptionA description of the starter position, typically the full name of the user.
TimeoutOptionsTimeout options for managing delays and expiration settings for the starter position.
TimeoutDayThe number of days specified for the timeout duration.
NameName for the workflow step.
CalculateUsingWorkingHoursDetermines if working hours should be used in timeout calculations.
EmailThe email address of the user in the starter position.
DocumentsA list of documents associated with the starter position.
EventsA read-only list of events linked to the starter position.
EnablePushNotificationGets or sets a value indicating whether push notification is enabled.
CustomMailMessageGets the custom mail message associated with the message.
TimeoutMinuteThe number of minutes specified for the timeout duration.
ShowInFlowHistorySpecifies if the position should appear in the workflow history.
CalculateUsingHolidaysSpecifies if holidays should be considered in timeout calculations.
CaptionThe caption dictionary representing localized captions for the flow object.
CodeThe code or username associated with the starter position.

Constructors

NameDescription
FlowStarterPosition(name, workflowData, workflowCodeInstance)Constructor for the FlowStarterPosition class. Initializes a new instance of the FlowStarterPosition class.
FlowStarterPosition(name,workflowData,workflowCodeInstance)Initializes a new instance of the FlowStarterPosition class with a name, workflow data, and workflow code instance.
FlowStarterPosition(name,workflowData,workflowCodeInstance)Initializes a new instance of the FlowStarterPosition class.

Methods

NameDescription
SendMail(requestItem)Sends an email notification for the process request associated with the starter position.
Initialize()Initializes the starter position with default settings.
AddAttachment(value,type)Adds an attachment to the mail message.
GetStarterUserInfo()Retrieves the user information for the starter position.
SendPushNotification(userInfo,requestItem)Sends a push notification to a user.
ToLiquid()Converts the starter position data into a format compatible with Liquid templates.
SendWebNotification(payloadType,userInfo,requestItem)Sends a web notification to a user.

Events

NameDescription
OnBeforeExecution(sender, args)Occurs before the execution of the workflow step.
OnAfterExecution(sender, args)Occurs after the execution of the workflow step.

Generic Types

NameDescription
TPropertiesGeneric type of properties.